swfupload["icourlswf"].onselect = function (key, data) {
    $("#icourlwrap").append('<li id="' + this.name + key + '"><div class="swfuploadimg"><div><img src="/img/white.gif" /></div></div><h2>等待上传<div></div></h2></li>');
}
var i=0;
swfupload["icourlswf"]["querystring"] = {"cutwidth": 300,"ext":""}
swfupload["icourlswf"].onsucceed = function (key, data) {
    data = data.toJson();
    if (data["succeed"])
    {   
        $('#inp').append("<input id='ico' type='hidden' name=certimg"+i+" value='"+data["url"]+"'/>")
        $("#ico").val(data["url"]);
        i++;
        
    }
};
